
//***********************************************
//
//      Filename: ReerseOrder.java
//
//        Author: wwb
//        Mails: 1274860621@qq.com
//        Create: 2018-04-15 16:59:54
// Last Modified: 2018-04-15 16:59:54
//***********************************************
import java.util.Scanner;

public class ReerseOrder {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        double[] numbers = new double[10];

        System.out.println("The size of the array: " + numbers.length);

        for (int index = 0;index < numbers.length;index++)
        {
            System.out.print("Enter number" + (index+1)+": ");
            numbers[index] = scan.nextDouble();
        }
        System.out.println("The numbes in renverse order:");

        for (int index = numbers.length-1;index>=0;index--)
            System.out.print(numbers[index] + " ");
    }
}
